package org.exam.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.exam.blog.domain.ArticleType;

import java.security.PrivateKey;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Menu {

    private Long id;

    private String name;

    private String component;

    private String url;

    private String icon;

    private Integer index;

    private Long parentId;
    private String menuName;
    private List<Menu> children = new ArrayList<>();

}
